package com.chengyu.core.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysThirdWarnExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysThirdWarnExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNidIsNull() {
            addCriterion("nid is null");
            return (Criteria) this;
        }

        public Criteria andNidIsNotNull() {
            addCriterion("nid is not null");
            return (Criteria) this;
        }

        public Criteria andNidEqualTo(String value) {
            addCriterion("nid =", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidNotEqualTo(String value) {
            addCriterion("nid <>", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidGreaterThan(String value) {
            addCriterion("nid >", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidGreaterThanOrEqualTo(String value) {
            addCriterion("nid >=", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidLessThan(String value) {
            addCriterion("nid <", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidLessThanOrEqualTo(String value) {
            addCriterion("nid <=", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidLike(String value) {
            addCriterion("nid like", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidNotLike(String value) {
            addCriterion("nid not like", value, "nid");
            return (Criteria) this;
        }

        public Criteria andNidIn(List<String> values) {
            addCriterion("nid in", values, "nid");
            return (Criteria) this;
        }

        public Criteria andNidNotIn(List<String> values) {
            addCriterion("nid not in", values, "nid");
            return (Criteria) this;
        }

        public Criteria andNidBetween(String value1, String value2) {
            addCriterion("nid between", value1, value2, "nid");
            return (Criteria) this;
        }

        public Criteria andNidNotBetween(String value1, String value2) {
            addCriterion("nid not between", value1, value2, "nid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidIsNull() {
            addCriterion("interface_nid is null");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidIsNotNull() {
            addCriterion("interface_nid is not null");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidEqualTo(String value) {
            addCriterion("interface_nid =", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidNotEqualTo(String value) {
            addCriterion("interface_nid <>", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidGreaterThan(String value) {
            addCriterion("interface_nid >", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidGreaterThanOrEqualTo(String value) {
            addCriterion("interface_nid >=", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidLessThan(String value) {
            addCriterion("interface_nid <", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidLessThanOrEqualTo(String value) {
            addCriterion("interface_nid <=", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidLike(String value) {
            addCriterion("interface_nid like", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidNotLike(String value) {
            addCriterion("interface_nid not like", value, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidIn(List<String> values) {
            addCriterion("interface_nid in", values, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidNotIn(List<String> values) {
            addCriterion("interface_nid not in", values, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidBetween(String value1, String value2) {
            addCriterion("interface_nid between", value1, value2, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andInterfaceNidNotBetween(String value1, String value2) {
            addCriterion("interface_nid not between", value1, value2, "interfaceNid");
            return (Criteria) this;
        }

        public Criteria andLeftAmountIsNull() {
            addCriterion("left_amount is null");
            return (Criteria) this;
        }

        public Criteria andLeftAmountIsNotNull() {
            addCriterion("left_amount is not null");
            return (Criteria) this;
        }

        public Criteria andLeftAmountEqualTo(BigDecimal value) {
            addCriterion("left_amount =", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountNotEqualTo(BigDecimal value) {
            addCriterion("left_amount <>", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountGreaterThan(BigDecimal value) {
            addCriterion("left_amount >", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("left_amount >=", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountLessThan(BigDecimal value) {
            addCriterion("left_amount <", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("left_amount <=", value, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountIn(List<BigDecimal> values) {
            addCriterion("left_amount in", values, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountNotIn(List<BigDecimal> values) {
            addCriterion("left_amount not in", values, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("left_amount between", value1, value2, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andLeftAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("left_amount not between", value1, value2, "leftAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountIsNull() {
            addCriterion("warn_amount is null");
            return (Criteria) this;
        }

        public Criteria andWarnAmountIsNotNull() {
            addCriterion("warn_amount is not null");
            return (Criteria) this;
        }

        public Criteria andWarnAmountEqualTo(BigDecimal value) {
            addCriterion("warn_amount =", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountNotEqualTo(BigDecimal value) {
            addCriterion("warn_amount <>", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountGreaterThan(BigDecimal value) {
            addCriterion("warn_amount >", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("warn_amount >=", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountLessThan(BigDecimal value) {
            addCriterion("warn_amount <", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("warn_amount <=", value, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountIn(List<BigDecimal> values) {
            addCriterion("warn_amount in", values, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountNotIn(List<BigDecimal> values) {
            addCriterion("warn_amount not in", values, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("warn_amount between", value1, value2, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("warn_amount not between", value1, value2, "warnAmount");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneIsNull() {
            addCriterion("warn_phone is null");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneIsNotNull() {
            addCriterion("warn_phone is not null");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneEqualTo(String value) {
            addCriterion("warn_phone =", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneNotEqualTo(String value) {
            addCriterion("warn_phone <>", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneGreaterThan(String value) {
            addCriterion("warn_phone >", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("warn_phone >=", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneLessThan(String value) {
            addCriterion("warn_phone <", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneLessThanOrEqualTo(String value) {
            addCriterion("warn_phone <=", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneLike(String value) {
            addCriterion("warn_phone like", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneNotLike(String value) {
            addCriterion("warn_phone not like", value, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneIn(List<String> values) {
            addCriterion("warn_phone in", values, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneNotIn(List<String> values) {
            addCriterion("warn_phone not in", values, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneBetween(String value1, String value2) {
            addCriterion("warn_phone between", value1, value2, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnPhoneNotBetween(String value1, String value2) {
            addCriterion("warn_phone not between", value1, value2, "warnPhone");
            return (Criteria) this;
        }

        public Criteria andWarnEmailIsNull() {
            addCriterion("warn_email is null");
            return (Criteria) this;
        }

        public Criteria andWarnEmailIsNotNull() {
            addCriterion("warn_email is not null");
            return (Criteria) this;
        }

        public Criteria andWarnEmailEqualTo(String value) {
            addCriterion("warn_email =", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailNotEqualTo(String value) {
            addCriterion("warn_email <>", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailGreaterThan(String value) {
            addCriterion("warn_email >", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailGreaterThanOrEqualTo(String value) {
            addCriterion("warn_email >=", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailLessThan(String value) {
            addCriterion("warn_email <", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailLessThanOrEqualTo(String value) {
            addCriterion("warn_email <=", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailLike(String value) {
            addCriterion("warn_email like", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailNotLike(String value) {
            addCriterion("warn_email not like", value, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailIn(List<String> values) {
            addCriterion("warn_email in", values, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailNotIn(List<String> values) {
            addCriterion("warn_email not in", values, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailBetween(String value1, String value2) {
            addCriterion("warn_email between", value1, value2, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andWarnEmailNotBetween(String value1, String value2) {
            addCriterion("warn_email not between", value1, value2, "warnEmail");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddByIsNull() {
            addCriterion("add_by is null");
            return (Criteria) this;
        }

        public Criteria andAddByIsNotNull() {
            addCriterion("add_by is not null");
            return (Criteria) this;
        }

        public Criteria andAddByEqualTo(String value) {
            addCriterion("add_by =", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByNotEqualTo(String value) {
            addCriterion("add_by <>", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByGreaterThan(String value) {
            addCriterion("add_by >", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByGreaterThanOrEqualTo(String value) {
            addCriterion("add_by >=", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByLessThan(String value) {
            addCriterion("add_by <", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByLessThanOrEqualTo(String value) {
            addCriterion("add_by <=", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByLike(String value) {
            addCriterion("add_by like", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByNotLike(String value) {
            addCriterion("add_by not like", value, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByIn(List<String> values) {
            addCriterion("add_by in", values, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByNotIn(List<String> values) {
            addCriterion("add_by not in", values, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByBetween(String value1, String value2) {
            addCriterion("add_by between", value1, value2, "addBy");
            return (Criteria) this;
        }

        public Criteria andAddByNotBetween(String value1, String value2) {
            addCriterion("add_by not between", value1, value2, "addBy");
            return (Criteria) this;
        }

        public Criteria andUpdTimeIsNull() {
            addCriterion("upd_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdTimeIsNotNull() {
            addCriterion("upd_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdTimeEqualTo(Date value) {
            addCriterion("upd_time =", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeNotEqualTo(Date value) {
            addCriterion("upd_time <>", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeGreaterThan(Date value) {
            addCriterion("upd_time >", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("upd_time >=", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeLessThan(Date value) {
            addCriterion("upd_time <", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeLessThanOrEqualTo(Date value) {
            addCriterion("upd_time <=", value, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeIn(List<Date> values) {
            addCriterion("upd_time in", values, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeNotIn(List<Date> values) {
            addCriterion("upd_time not in", values, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeBetween(Date value1, Date value2) {
            addCriterion("upd_time between", value1, value2, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdTimeNotBetween(Date value1, Date value2) {
            addCriterion("upd_time not between", value1, value2, "updTime");
            return (Criteria) this;
        }

        public Criteria andUpdByIsNull() {
            addCriterion("upd_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdByIsNotNull() {
            addCriterion("upd_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdByEqualTo(String value) {
            addCriterion("upd_by =", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByNotEqualTo(String value) {
            addCriterion("upd_by <>", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByGreaterThan(String value) {
            addCriterion("upd_by >", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByGreaterThanOrEqualTo(String value) {
            addCriterion("upd_by >=", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByLessThan(String value) {
            addCriterion("upd_by <", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByLessThanOrEqualTo(String value) {
            addCriterion("upd_by <=", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByLike(String value) {
            addCriterion("upd_by like", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByNotLike(String value) {
            addCriterion("upd_by not like", value, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByIn(List<String> values) {
            addCriterion("upd_by in", values, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByNotIn(List<String> values) {
            addCriterion("upd_by not in", values, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByBetween(String value1, String value2) {
            addCriterion("upd_by between", value1, value2, "updBy");
            return (Criteria) this;
        }

        public Criteria andUpdByNotBetween(String value1, String value2) {
            addCriterion("upd_by not between", value1, value2, "updBy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}